xend: pass-through: Move pci conversion functions to pci.py
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:36:47 +0000 (07:36 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:36:47 +0000 (07:36 +0100)
commitce004c4b0fc00995559d417f14d3c62405a26942
tree207806746087eeb110e6d899b0a4120198ed0678
parent29baf765df8ff361e407fde690ff8c52d4c852cd
xend: pass-through: Move pci conversion functions to pci.py

Move dev_dict_to_sxp() into XendSXPDev.py.  Move
pci_convert_dict_to_sxp() and pci_convert_sxp_to_dict() to pci.py,
where other similar functions live.  This makes these functions
accessible outside of the XendConfig class.

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/util/pci.py
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/XendSXPDev.py [new file with mode: 0644]